#打开
#读取、写入
#关闭
#新格式   ---注意：你们别忘记添加字符集 encoding="utf8"
with open(r"c:\a.txt","r") as file,\
      open(r"c:\b.txt","r") as file1,\
        open(r"c:\c.txt","w") as file2:
    text1= file.read()
    text2=file1.read()
    file2.write(text1+text2)
